package com.network.web.config;

import com.network.web.api.ReceiptApi;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 28162
 */
@Getter
@Setter
@ToString
@Component
@ConfigurationProperties(prefix = "receipt")
public class ReceiptConfig extends BaseConfig<ReceiptApi> {
    private String url;
    private String mediaType;
    private String requestHeader;
    private String certificatePath;
    private String certificatePassword;
    private String keyStoreType;
    private String sslContextType;
    private final Class<ReceiptApi> apiClass = ReceiptApi.class;
}
